<script setup lang="ts">
const props = defineProps({
  title: {
    type: String,
    default: '',
  },
});

</script>

<template>
  <div class="title-cont">
    <div class="title-cont-left">
      <div class="title-cont-left-icon"></div>
      <div class="title-cont-left-title">{{ props.title }}</div>
    </div>
    <div class="title-cont-right"></div>
  </div>
</template>

<style scoped lang="scss">
.title-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  .title-cont-left {
    display: flex;
    align-items: center;

    .title-cont-left-icon {
      width: 13px;
      height: 18px;
      background-image: url("@/assets/imgs/Rectangle.png");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      margin-right: 6px;
    }

    .title-cont-left-title {
      font-family: YouSheBiaoTiYuan;
      font-size: 22px;
      color: #FFFFFF;
      line-height: 29px;
      font-weight: 600;
    }

  }

  .title-cont-right {
    width: 35px;
    height: 11px;
    background-image: url("@/assets/imgs/Group 6.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 6px;
  }
}
</style>
